//
//  GYAliyunOSS.h
//  GeYou
//
//  Created by keven kenv on 2017/12/20.
//  Copyright © 2017年 geyou. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GYAliyunOSS : NSObject

+ (instancetype)sharedInstance;

- (void)setupEnvironment;

//同步上传
- (void)uploadObjectSyncWithImageUrl:(NSURL *)url dir:(NSString *)dir completion:(void(^)(NSDictionary *error, NSString *imgName))completion;

-(void)uploadImages:(NSArray*)images isAsync:(BOOL)isAsync complete:(void(^)(NSArray *names, NSString* state))complete;

@end
